/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI.Components;

import javax.swing.ImageIcon;
import javax.swing.JButton;

/**
 *
 * @author David
 */
public class BButton extends JButton
{

    /*Making it extendable*/
    /**
     *
     */
    public BButton()
    {
    }

    /**
     *
     * @param text
     */
    public BButton(String text)
    {
        setText(text);
        setBorder(new RoundBorder());
    }
    /**
     *
     * @param text
     */
    public BButton(ImageIcon icon)
    {
        setIcon(icon);
        setBorder(new RoundBorder());
    }
}
